package practise.inherit;

public class Parent {
	
	private String symbol = "Parent symbol";
	public String currentObjectSymbol ;
	public String OverrideObjectSymbol = "OverrideObjectSymbol : parent !";
	public Parent(){
		System.out.println("Parent .");
		currentObjectSymbol = symbol;
	}
	
	public Parent(String str){
		System.out.println("Parent with Param");
	}
	
	public void getSymbol(){
		System.out.println("symbol : " + symbol);
		System.out.println("currentObjectSymbol : " + currentObjectSymbol);
		System.out.println("OverrideObjectSymbol : " + OverrideObjectSymbol);
	}
	
	public void OverrideGetSymbol(){
		System.out.println("symbol : " + symbol);
		System.out.println("currentObjectSymbol : " + currentObjectSymbol);
		System.out.println("OverrideObjectSymbol : " + OverrideObjectSymbol);
	}

}
